package com.boil.qz.safekavass.pojo;

/**
 * Created by ChenYong on 2017-06-06.
 * <br>
 * 举报统计-根据领红包月份统计红包领取情况的映射实体类。
 */
public class ReportCountByReceiveredpackMonthVo {
    /**
     * 领红包的月份
     */
    private String receiveredpackMonth;
    /**
     * 领红包的结果
     */
    private String receiveredpackResult;
    /**
     * 领红包的个数
     */
    private Integer receiveredpackCount;
    /**
     * 领红包的金额
     */
    private String receiveredpackMoney;

    /**
     * 默认构造器。
     */
    public ReportCountByReceiveredpackMonthVo() {
        super();
    }

    public String getReceiveredpackMonth() {
        return receiveredpackMonth;
    }

    public void setReceiveredpackMonth(String receiveredpackMonth) {
        this.receiveredpackMonth = receiveredpackMonth;
    }

    public String getReceiveredpackResult() {
        return receiveredpackResult;
    }

    public void setReceiveredpackResult(String receiveredpackResult) {
        this.receiveredpackResult = receiveredpackResult;
    }

    public Integer getReceiveredpackCount() {
        return receiveredpackCount;
    }

    public void setReceiveredpackCount(Integer receiveredpackCount) {
        this.receiveredpackCount = receiveredpackCount;
    }

    public String getReceiveredpackMoney() {
        return receiveredpackMoney;
    }

    public void setReceiveredpackMoney(String receiveredpackMoney) {
        this.receiveredpackMoney = receiveredpackMoney;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        ReportCountByReceiveredpackMonthVo that = (ReportCountByReceiveredpackMonthVo) o;

        if (receiveredpackMonth != null ? !receiveredpackMonth.equals(that.receiveredpackMonth) : that.receiveredpackMonth != null)
            return false;
        if (receiveredpackResult != null ? !receiveredpackResult.equals(that.receiveredpackResult) : that.receiveredpackResult != null)
            return false;
        if (receiveredpackCount != null ? !receiveredpackCount.equals(that.receiveredpackCount) : that.receiveredpackCount != null)
            return false;
        return receiveredpackMoney != null ? receiveredpackMoney.equals(that.receiveredpackMoney) : that.receiveredpackMoney == null;
    }

    @Override
    public int hashCode() {
        int result = receiveredpackMonth != null ? receiveredpackMonth.hashCode() : 0;
        result = 31 * result + (receiveredpackResult != null ? receiveredpackResult.hashCode() : 0);
        result = 31 * result + (receiveredpackCount != null ? receiveredpackCount.hashCode() : 0);
        result = 31 * result + (receiveredpackMoney != null ? receiveredpackMoney.hashCode() : 0);
        return result;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("ReportCountByReceiveredpackMonthVo{");
        sb.append("receiveredpackMonth='").append(receiveredpackMonth).append('\'');
        sb.append(", receiveredpackResult='").append(receiveredpackResult).append('\'');
        sb.append(", receiveredpackCount=").append(receiveredpackCount);
        sb.append(", receiveredpackMoney='").append(receiveredpackMoney).append('\'');
        sb.append('}');
        return sb.toString();
    }
}